package pojo;

public class User {
    private String id;
    private String password;
    private String nick;
    private String avatar;
    private String email;
    private String phone;
    private String sex;
    private String birth;
    private String sign;
    private int fond;
    private int fun;

    public User() {

    }

    public User(String id, String password, String nick, String avatar, String email, String phone, String sex, String birth, String sign, int fond, int fun) {
        this.id = id;
        this.password = password;
        this.nick = nick;
        this.avatar = avatar;
        this.email = email;
        this.phone = phone;
        this.sex = sex;
        this.birth = birth;
        this.sign = sign;
        this.fond = fond;
        this.fun = fun;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public int getFond() {
        return fond;
    }

    public void setFond(int fond) {
        this.fond = fond;
    }

    public int getFun() {
        return fun;
    }

    public void setFun(int fun) {
        this.fun = fun;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", password='" + password + '\'' +
                ", nick='" + nick + '\'' +
                ", avatar='" + avatar + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", sex='" + sex + '\'' +
                ", birth='" + birth + '\'' +
                ", sign='" + sign + '\'' +
                ", fond=" + fond +
                ", fun=" + fun +
                '}';
    }
}
